
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>数组&集合 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="date.html" />
    
    
    <link rel="prev" href="number.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    快速开始
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../start/param.html">
            
                <a href="../start/param.html">
            
                    
                    参数获取
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../start/crud.html">
            
                <a href="../start/crud.html">
            
                    
                    增删改查
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../start/table.html">
            
                <a href="../start/table.html">
            
                    
                    单表操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../start/page.html">
            
                <a href="../start/page.html">
            
                    
                    分页查询
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    核心模块
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../module/db.html">
            
                <a href="../module/db.html">
            
                    
                    db模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../module/http.html">
            
                <a href="../module/http.html">
            
                    
                    http模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../module/log.html">
            
                <a href="../module/log.html">
            
                    
                    log模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../module/env.html">
            
                <a href="../module/env.html">
            
                    
                    env模块
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    特殊函数
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../function/agg.html">
            
                <a href="../function/agg.html">
            
                    
                    聚合函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../function/date.html">
            
                <a href="../function/date.html">
            
                    
                    日期函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../function/string.html">
            
                <a href="../function/string.html">
            
                    
                    字符串函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../function/array.html">
            
                <a href="../function/array.html">
            
                    
                    数组函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../function/math.html">
            
                <a href="../function/math.html">
            
                    
                    数学函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../function/other.html">
            
                <a href="../function/other.html">
            
                    
                    其他函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    对象方法
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="object.html">
            
                <a href="object.html">
            
                    
                    Object对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="number.html">
            
                <a href="number.html">
            
                    
                    Number对象
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.3" data-path="list.html">
            
                <a href="list.html">
            
                    
                    数组&集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="date.html">
            
                <a href="date.html">
            
                    
                    Date对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="class.html">
            
                <a href="class.html">
            
                    
                    Class对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="pattern.html">
            
                <a href="pattern.html">
            
                    
                    Patter对象
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    脚本语法
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../syntax/keyword.html">
            
                <a href="../syntax/keyword.html">
            
                    
                    关键字
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../syntax/type.html">
            
                <a href="../syntax/type.html">
            
                    
                    类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../syntax/yunsuan.html">
            
                <a href="../syntax/yunsuan.html">
            
                    
                    运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../syntax/yiyuan.html">
            
                <a href="../syntax/yiyuan.html">
            
                    
                    运算符示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../syntax/for.html">
            
                <a href="../syntax/for.html">
            
                    
                    for循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../syntax/import.html">
            
                <a href="../syntax/import.html">
            
                    
                    导入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../syntax/async.html">
            
                <a href="../syntax/async.html">
            
                    
                    异步
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >数组&集合</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h4 id="&#x4E3A;collectioniteratorenumerationobject-&#x6DFB;&#x52A0;&#x7684;&#x6269;&#x5C55;&#x65B9;&#x6CD5;">&#x4E3A;<code>Collection</code>,<code>Iterator</code>,<code>Enumeration</code>,<code>Object[]</code> &#x6DFB;&#x52A0;&#x7684;&#x6269;&#x5C55;&#x65B9;&#x6CD5;</h4>
<h4 id="map">map</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code>:<code>Function</code> &#x63A5;&#x6536;&#x4E00;&#x4E2A;<code>Lambda</code>&#x8868;&#x8FBE;&#x5F0F;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5C06;&#x96C6;&#x5408;&#x8FDB;&#x884C;&#x5FAA;&#x73AF;&#x8F6C;&#x6362;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">4</span>,<span class="hljs-number">5</span>];
<span class="hljs-keyword">return</span> list.map(e=&gt;e+<span class="hljs-number">1</span>);    <span class="hljs-comment">//&#x8FD4;&#x56DE;[2,3,4,5,6]</span>
</code></pre>
<h4 id="filter">filter</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code>:<code>Function</code> &#x63A5;&#x6536;&#x4E00;&#x4E2A;<code>Lambda</code>&#x8868;&#x8FBE;&#x5F0F;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5C06;&#x96C6;&#x5408;&#x8FDB;&#x884C;&#x8FC7;&#x6EE4;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">4</span>,<span class="hljs-number">5</span>];
<span class="hljs-keyword">return</span> list.filter(e=&gt;e&gt;<span class="hljs-number">3</span>);    <span class="hljs-comment">//&#x8FD4;&#x56DE;[4,5]</span>
<span class="hljs-keyword">return</span> list.filter((item,index)=&gt;index&gt;<span class="hljs-number">1</span>);    <span class="hljs-comment">//&#x8FD4;&#x56DE;[3,4,5]</span>
</code></pre>
<h4 id="each">each</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code>:<code>Function</code> &#x63A5;&#x6536;&#x4E00;&#x4E2A;<code>Lambda</code>&#x8868;&#x8FBE;&#x5F0F;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5FAA;&#x73AF;&#x5904;&#x7406;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [{
    name : <span class="hljs-string">&apos;&#x5C0F;&#x660E;&apos;</span>
},{
  name : <span class="hljs-string">&apos;&#x5C0F;&#x82B1;&apos;</span>
}];
<span class="hljs-keyword">return</span> list.each(item=&gt;item.put(<span class="hljs-string">&apos;age&apos;</span>,<span class="hljs-number">18</span>));    <span class="hljs-comment">//&#x5FAA;&#x73AF;&#x6DFB;&#x52A0;age&#x5C5E;&#x6027;</span>
</code></pre>
<h4 id="sort">sort</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code>:<code>Function</code> &#x63A5;&#x6536;&#x4E00;&#x4E2A;<code>Lambda</code>&#x8868;&#x8FBE;&#x5F0F;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5BF9;&#x96C6;&#x5408;&#x8FDB;&#x884C;&#x6392;&#x5E8F;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">5</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">6</span>];
<span class="hljs-keyword">return</span> list.sort((a,b)=&gt;a-b);
</code></pre>
<h4 id="first">first</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A; <code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x8FD4;&#x56DE;&#x96C6;&#x5408;&#x7684;&#x7B2C;&#x4E00;&#x9879;&#xFF0C;&#x96C6;&#x5408;&#x4E3A;&#x7A7A;&#x65F6;&#x8FD4;&#x56DE;<code>null</code></li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">4</span>,<span class="hljs-number">5</span>]
<span class="hljs-keyword">return</span> list.first(); <span class="hljs-comment">// 1</span>
</code></pre>
<h4 id="last">last</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A; <code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x8FD4;&#x56DE;&#x96C6;&#x5408;&#x7684;&#x6700;&#x540E;&#x4E00;&#x9879;&#xFF0C;&#x96C6;&#x5408;&#x4E3A;&#x7A7A;&#x65F6;&#x8FD4;&#x56DE;<code>null</code></li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">4</span>,<span class="hljs-number">5</span>]
<span class="hljs-keyword">return</span> list.last(); <span class="hljs-comment">// 5</span>
</code></pre>
<h4 id="reserve">reserve</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5BF9;&#x96C6;&#x5408;&#x8FDB;&#x884C;&#x53CD;&#x8F6C;&#x64CD;&#x4F5C;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">5</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">6</span>];
<span class="hljs-keyword">return</span> list.reserve();
</code></pre>
<h4 id="join&#x62FC;&#x63A5;">join(&#x62FC;&#x63A5;)</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>separator</code> : <code>String</code> &#x5206;&#x9694;&#x7B26;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>String</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5BF9;&#x96C6;&#x5408;&#x8FDB;&#x884C;&#x62FC;&#x63A5;&#x64CD;&#x4F5C;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">5</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">6</span>];
<span class="hljs-keyword">return</span> list.join(<span class="hljs-string">&apos;-&apos;</span>); <span class="hljs-comment">// 1-5-2-3-6</span>
</code></pre>
<h4 id="shuffle">shuffle</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5BF9;&#x96C6;&#x5408;&#x8FDB;&#x884C;&#x6253;&#x4E71;&#x5904;&#x7406;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">5</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">6</span>];
<span class="hljs-keyword">return</span> list.shuffle();
</code></pre>
<h4 id="max">max</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x53D6;&#x51FA;&#x96C6;&#x5408;&#x6700;&#x5927;&#x503C;&#xFF0C;&#x5982;&#x679C;&#x627E;&#x4E0D;&#x5230;&#x8FD4;&#x56DE;null</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">6</span>,<span class="hljs-number">8</span>,<span class="hljs-number">9</span>,<span class="hljs-number">18</span>,<span class="hljs-number">12</span>];
<span class="hljs-keyword">return</span> list.max();  <span class="hljs-comment">// 18</span>
</code></pre>
<h4 id="min">min</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x53D6;&#x51FA;&#x96C6;&#x5408;&#x6700;&#x5C0F;&#x503C;&#xFF0C;&#x5982;&#x679C;&#x627E;&#x4E0D;&#x5230;&#x8FD4;&#x56DE;null</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">6</span>,<span class="hljs-number">1</span>,<span class="hljs-number">8</span>,<span class="hljs-number">9</span>,<span class="hljs-number">18</span>,<span class="hljs-number">12</span>];
<span class="hljs-keyword">return</span> list.min();  <span class="hljs-comment">// 1</span>
</code></pre>
<h4 id="sum">sum</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x7D2F;&#x52A0;&#x6C42;&#x548C;&#xFF0C;&#x8BA1;&#x7B97;&#x4E0D;&#x51FA;&#x8FD4;&#x56DE;0.0</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">4</span>];
<span class="hljs-keyword">return</span> list.sum();  <span class="hljs-comment">// 10</span>
</code></pre>
<h4 id="avg">avg</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x8BA1;&#x7B97;&#x5E73;&#x5747;&#x503C;&#xFF0C;&#x8BA1;&#x7B97;&#x4E0D;&#x51FA;&#x8FD4;&#x56DE;null</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>,<span class="hljs-number">2</span>,<span class="hljs-number">3</span>,<span class="hljs-number">4</span>];
<span class="hljs-keyword">return</span> list.avg();  <span class="hljs-comment">// 2.5</span>
</code></pre>
<h4 id="group">group</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>condition</code> : <code>Function</code> &#x5206;&#x7EC4;&#x6761;&#x4EF6; &#x5982;:<code>item=&gt;item.xxx</code> &#x6839;&#x636E;xxx&#x5B57;&#x6BB5;&#x5206;&#x7EC4;</li>
<li>&#x5165;&#x53C2;&#xFF1A;<code>mapping</code> : <code>Function</code> &#x7ED3;&#x679C;&#x6620;&#x5C04;(&#x7701;&#x7565;&#x65F6;&#x4E0D;&#x505A;&#x6620;&#x5C04;&#x8FD4;&#x56DE;List) &#x5982;:<code>list=&gt;list.sum()</code> &#x5206;&#x7EC4;&#x6C42;&#x548C;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Map&lt;Object, List&lt;Object&gt;&gt;</code>&#x6216;<code>Map&lt;Object, Object&gt;</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x5206;&#x7EC4;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-comment">// List&lt;Map&lt;String,Object&gt;&gt;</span>
<span class="hljs-keyword">var</span> result = [
    { xxx : <span class="hljs-number">1</span>, yyy : <span class="hljs-number">2</span>, value : <span class="hljs-number">11</span>},
    { xxx : <span class="hljs-number">1</span>, yyy : <span class="hljs-number">2</span>, value : <span class="hljs-number">22</span>},
    { xxx : <span class="hljs-number">2</span>, yyy : <span class="hljs-number">2</span>, value : <span class="hljs-number">33</span>}
];


<span class="hljs-keyword">return</span> result.group(item=&gt;item.xxx + <span class="hljs-string">&apos;_&apos;</span> + item.yyy)
<span class="hljs-comment">/*
Map&lt;Object,List&lt;Object&gt;&gt;
{
    &quot;1_2&quot;: [
            {&quot;yyy&quot;: 2, &quot;xxx&quot;: 1, &quot;value&quot;: 11},
            {&quot;yyy&quot;: 2, &quot;xxx&quot;: 1, &quot;value&quot;: 22}
    ],
    &quot;2_2&quot;: [{&quot;yyy&quot;: 2, &quot;xxx&quot;: 2, &quot;value&quot;: 33 }]
}
*/</span>

<span class="hljs-keyword">return</span> result.group(item=&gt;item.xxx + <span class="hljs-string">&apos;_&apos;</span> + item.yyy,list=&gt;{
    count : list.size(),
    sum : list.map(v=&gt;v.value).sum(),
    avg : list.map(v=&gt;v.value).avg()
})
<span class="hljs-comment">/*
Map&lt;Object,Object&gt;
{
    &quot;1_2&quot;: { &quot;avg&quot;: 16.5, &quot;count&quot;: 2, &quot;sum&quot;: 33 },
    &quot;2_2&quot;: { &quot;avg&quot;: 33,   &quot;count&quot;: 1, &quot;sum&quot;: 33 }
}
*/</span>
</code></pre>
<h4 id="join&#x5173;&#x8054;">join(&#x5173;&#x8054;)</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>target</code> : <code>Object</code> &#x5206;&#x7EC4;&#x6761;&#x4EF6; &#x5982;:<code>item=&gt;item.xxx</code> &#x6839;&#x636E;xxx&#x5B57;&#x6BB5;&#x5206;&#x7EC4;</li>
<li>&#x5165;&#x53C2;&#xFF1A;<code>condition</code> : <code>Function</code> &#x5173;&#x8054;&#x6761;&#x4EF6; &#x5982;:<code>(left,right)=&gt;left.xxx == right.xxx</code></li>
<li>&#x5165;&#x53C2;&#xFF1A;<code>mapping</code> : <code>Function</code> &#x7ED3;&#x679C;&#x6620;&#x5C04;(&#x7701;&#x7565;&#x65F6;&#x4F1A;&#x5C06;&#x4E24;&#x4E2A;&#x5BF9;&#x8C61;&#x5408;&#x5E76;&#x5904;&#x7406;)&#x5982;:<code>(left,right)=&gt;{xxx : left.xxx, yyy : right.yyy}</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>List&lt;Object&gt;</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x5C06;&#x4E24;&#x4E2A;&#x96C6;&#x5408;&#x7BA1;&#x7406;&#x8D77;&#x6765;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> year2019 = [
    { <span class="hljs-string">&quot;pt&quot;</span>: <span class="hljs-number">2019</span>, <span class="hljs-string">&quot;item_code&quot;</span>: <span class="hljs-string">&quot;code_1&quot;</span>, <span class="hljs-string">&quot;sum_price&quot;</span>: <span class="hljs-number">2234</span> },
    { <span class="hljs-string">&quot;pt&quot;</span>: <span class="hljs-number">2019</span>, <span class="hljs-string">&quot;item_code&quot;</span>: <span class="hljs-string">&quot;code_2&quot;</span>, <span class="hljs-string">&quot;sum_price&quot;</span>: <span class="hljs-number">234</span> },
    { <span class="hljs-string">&quot;pt&quot;</span>: <span class="hljs-number">2019</span>, <span class="hljs-string">&quot;item_code&quot;</span>: <span class="hljs-string">&quot;code_3&quot;</span>, <span class="hljs-string">&quot;sum_price&quot;</span>: <span class="hljs-number">12340</span> },
    { <span class="hljs-string">&quot;pt&quot;</span>: <span class="hljs-number">2019</span>, <span class="hljs-string">&quot;item_code&quot;</span>: <span class="hljs-string">&quot;code_4&quot;</span>, <span class="hljs-string">&quot;sum_price&quot;</span>: <span class="hljs-number">2344</span> }
];
<span class="hljs-keyword">var</span> year2018 = [
    { <span class="hljs-string">&quot;pt&quot;</span>: <span class="hljs-number">2018</span>, <span class="hljs-string">&quot;item_code&quot;</span>: <span class="hljs-string">&quot;code_1&quot;</span>, <span class="hljs-string">&quot;sum_price&quot;</span>: <span class="hljs-number">1234.0</span> },
    { <span class="hljs-string">&quot;pt&quot;</span>: <span class="hljs-number">2018</span>, <span class="hljs-string">&quot;item_code&quot;</span>: <span class="hljs-string">&quot;code_4&quot;</span>, <span class="hljs-string">&quot;sum_price&quot;</span>: <span class="hljs-number">1234.0</span> }
];
<span class="hljs-keyword">return</span> year2019.join(year2018, (left, right) =&gt; left.item_code == right.item_code,  (left, right) =&gt; {
   <span class="hljs-string">&apos;&#x5E74;&#x4EFD;&apos;</span> : left.pt,
   <span class="hljs-string">&apos;&#x7F16;&#x53F7;&apos;</span> : left.item_code,
   <span class="hljs-string">&apos;&#x4ECA;&#x5E74;&apos;</span> : left.sum_price,
   <span class="hljs-string">&apos;&#x53BB;&#x5E74;&apos;</span> : right == <span class="hljs-literal">null</span> ? <span class="hljs-string">&apos;unknow&apos;</span> : right.sum_price,
   <span class="hljs-string">&apos;&#x73AF;&#x6BD4;&#x53BB;&#x5E74;&#x589E;&#x957F;&apos;</span> : right == <span class="hljs-literal">null</span> ? <span class="hljs-string">&apos;-&apos;</span>: (((left.sum_price - right.sum_price) / right.sum_price * <span class="hljs-number">100</span>) + <span class="hljs-string">&quot;%&quot;</span>)
});
<span class="hljs-comment">/*
[
    {&quot;&#x5E74;&#x4EFD;&quot;: 2019, &quot;&#x4ECA;&#x5E74;&quot;: 2234, &quot;&#x53BB;&#x5E74;&quot;: 1234, &quot;&#x73AF;&#x6BD4;&#x53BB;&#x5E74;&#x589E;&#x957F;&quot;: &quot;81.03728%&quot;, &quot;&#x7F16;&#x53F7;&quot;: &quot;code_1&quot;},
    {&quot;&#x5E74;&#x4EFD;&quot;: 2019, &quot;&#x4ECA;&#x5E74;&quot;: 234, &quot;&#x53BB;&#x5E74;&quot;: &quot;unknow&quot;, &quot;&#x73AF;&#x6BD4;&#x53BB;&#x5E74;&#x589E;&#x957F;&quot;: &quot;-&quot;, &quot;&#x7F16;&#x53F7;&quot;: &quot;code_2&quot;},
    {&quot;&#x5E74;&#x4EFD;&quot;: 2019, &quot;&#x4ECA;&#x5E74;&quot;: 12340,&quot;&#x53BB;&#x5E74;&quot;: &quot;unknow&quot;,&quot;&#x73AF;&#x6BD4;&#x53BB;&#x5E74;&#x589E;&#x957F;&quot;: &quot;-&quot;,&quot;&#x7F16;&#x53F7;&quot;: &quot;code_3&quot;},
    {&quot;&#x5E74;&#x4EFD;&quot;: 2019, &quot;&#x4ECA;&#x5E74;&quot;: 2344, &quot;&#x53BB;&#x5E74;&quot;: 1234, &quot;&#x73AF;&#x6BD4;&#x53BB;&#x5E74;&#x589E;&#x957F;&quot;: &quot;89.95138%&quot;, &quot;&#x7F16;&#x53F7;&quot;: &quot;code_4&quot;}
]
*/</span>
</code></pre>
<h4 id="asbean&#x8F6C;&#x4E3A;java&#x5BF9;&#x8C61;">asBean(&#x8F6C;&#x4E3A;Java&#x5BF9;&#x8C61;)</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>target</code> : <code>Class&lt;?&gt;</code> &#x76EE;&#x6807;&#x7C7B;&#x578B;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>List&lt;?&gt;</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A; &#x5C06;<code>List&lt;Object&gt;</code> &#x8F6C;&#x4E3A;&#x76EE;&#x6807;<code>List</code></li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">import</span> <span class="hljs-string">&apos;org.ssssssss.script.functions.User&apos;</span> <span class="hljs-keyword">as</span> User;
<span class="hljs-keyword">var</span> userList = [{
    age : <span class="hljs-number">18</span>,
    weight : <span class="hljs-number">121</span>,
    money : <span class="hljs-number">123456789</span>L,
    name : <span class="hljs-string">&apos;&#x6CD5;&#x5916;&#x72C2;&#x5F92;&apos;</span>,
    roles : [{
        name : <span class="hljs-string">&apos;admin&apos;</span>,
        permissions : [<span class="hljs-string">&apos;1&apos;</span>, <span class="hljs-string">&apos;2&apos;</span>, <span class="hljs-string">&apos;3&apos;</span>]
    },{
      name : <span class="hljs-string">&apos;normal&apos;</span>,
      permissions : [<span class="hljs-string">&apos;4&apos;</span>, <span class="hljs-string">&apos;5&apos;</span>, <span class="hljs-string">&apos;6&apos;</span>]
    }]
}]
<span class="hljs-keyword">return</span> userList.asBean(User.class);
</code></pre>
<h4 id="every">every</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>condition</code> : <code>Function</code> &#x5224;&#x65AD;&#x6761;&#x4EF6; &#x5982;:<code>value =&gt; value &gt; 2</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>boolean</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5224;&#x65AD;&#x96C6;&#x5408;&#x662F;&#x5426;&#x90FD;&#x7B26;&#x5408;&#x6761;&#x4EF6;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> vals = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">6</span>, <span class="hljs-number">7</span>];
<span class="hljs-keyword">return</span> vals.every(e =&gt; e &gt; <span class="hljs-number">0</span>); <span class="hljs-comment">// true</span>
</code></pre>
<h4 id="some">some</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>condition</code> : <code>Function</code> &#x5224;&#x65AD;&#x6761;&#x4EF6; &#x5982;:<code>value =&gt; value &gt; 2</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>boolean</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5224;&#x65AD;&#x96C6;&#x5408;&#x662F;&#x5426;&#x6709;&#x7B26;&#x5408;&#x6761;&#x4EF6;&#x7684;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> vals = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">6</span>, <span class="hljs-number">7</span>];
<span class="hljs-keyword">return</span> vals.some(e =&gt; e == <span class="hljs-number">0</span>); <span class="hljs-comment">// false</span>
</code></pre>
<h4 id="reduce">reduce</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code> : <code>Function</code> &#x8BA1;&#x7B97;&#x51FD;&#x6570; &#x5982;:<code>(sum,val)=&gt;sum + val</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5FAA;&#x73AF;&#x96C6;&#x5408;&#x901A;&#x8FC7;&#x7ED9;&#x5B9A;&#x7684;&#x8BA1;&#x7B97;&#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x4E00;&#x4E2A;&#x65B0;&#x503C;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> vals = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>];
<span class="hljs-keyword">return</span> vals.reduce((sum, val) =&gt; sum + val); <span class="hljs-comment">// 6</span>
</code></pre>
<h4 id="find">find</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code>&#xFF1A;<code>Function</code> &#x67E5;&#x627E;&#x51FD;&#x6570;&#xFF0C;&#x5982;&#xFF1A;<code>it =&gt; it.name == &apos;A&apos;</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5FAA;&#x73AF;&#x96C6;&#x5408;&#x67E5;&#x627E;&#x7B26;&#x5408;&#x6761;&#x4EF6;&#x7684;&#x5BF9;&#x8C61;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [{name: <span class="hljs-string">&apos;A&apos;</span>}, {name:<span class="hljs-string">&apos;B&apos;</span>}]
<span class="hljs-keyword">return</span> list.find(it =&gt; it.name == <span class="hljs-string">&apos;A&apos;</span>);  <span class="hljs-comment">// {name: &apos;A&apos;}</span>
</code></pre>
<h4 id="findindex">findIndex</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>function</code>&#xFF1A;<code>Function</code> &#x67E5;&#x627E;&#x51FD;&#x6570;&#xFF0C;&#x5982;&#xFF1A;<code>it =&gt; it.name == &apos;A&apos;</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x5FAA;&#x73AF;&#x96C6;&#x5408;&#x67E5;&#x627E;&#x7B26;&#x5408;&#x6761;&#x4EF6;&#x7684;&#x5BF9;&#x8C61;&#x4F4D;&#x7F6E;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [{name: <span class="hljs-string">&apos;A&apos;</span>}, {name: <span class="hljs-string">&apos;B&apos;</span>}]
<span class="hljs-keyword">return</span> list.findIndex(it =&gt; it.name == <span class="hljs-string">&apos;A&apos;</span>);  <span class="hljs-comment">// 0</span>
</code></pre>
<h4 id="concat">concat</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>Object</code>&#xFF0C;&#x8981;&#x8FDE;&#x63A5;&#x7684;&#x96C6;&#x5408;&#x5BF9;&#x8C61;&#xFF0C;&#x53EF;&#x5199;&#x591A;&#x4E2A;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x62FC;&#x63A5;&#x4E00;&#x4E2A;&#x6216;&#x591A;&#x4E2A;&#x96C6;&#x5408;&#xFF0C;&#x8FD4;&#x56DE;&#x65B0;&#x7684;&#x96C6;&#x5408;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [<span class="hljs-number">1</span>];
<span class="hljs-keyword">return</span> [<span class="hljs-number">1</span>].concat([<span class="hljs-number">2</span>]);  <span class="hljs-comment">// [1,2] list&#x4E0D;&#x53D8;</span>
<span class="hljs-keyword">return</span> [<span class="hljs-number">1</span>].concat([<span class="hljs-number">2</span>],[<span class="hljs-number">3</span>, <span class="hljs-number">4</span>]);  <span class="hljs-comment">// [1, 2, 3, 4] list&#x4E0D;&#x53D8;</span>
</code></pre>
<h4 id="tomap">toMap</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>mappingKey</code>&#xFF1A;<code>Function</code>&#xFF0C;<code>key</code>&#x6620;&#x5C04;&#x65B9;&#x6CD5;&#xFF0C;&#x5982;:<code>it =&gt; it.id</code></li>
<li>&#x5165;&#x53C2;&#xFF1A;<code>mappingValue</code>&#xFF1A;<code>Function</code>&#xFF0C;<code>value</code>&#x6620;&#x5C04;&#x65B9;&#x6CD5;&#xFF0C;&#x5982;:<code>it =&gt; {name: it.name}</code>,&#x53EF;&#x7701;&#x7565;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;&#x672C;&#x8EAB;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> list = [
    {id : <span class="hljs-number">1</span>, name: <span class="hljs-string">&apos;A&apos;</span>},
    {id : <span class="hljs-number">2</span>, name: <span class="hljs-string">&apos;B&apos;</span>},
    {id : <span class="hljs-number">3</span>, name: <span class="hljs-string">&apos;C&apos;</span>},
]
<span class="hljs-keyword">return</span> list.toMap(k =&gt; k.id, v =&gt; v.name)   <span class="hljs-comment">// {1: &apos;A&apos;, 2: &apos;B&apos;, 3: &apos;C&apos;}</span>
</code></pre>
<h4 id="skip">skip</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>value</code> : <code>int</code> &#x8DF3;&#x8FC7;&#x7684;&#x6570;&#x91CF;&#xFF0C;&#x5982;:<code>2</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x8DF3;&#x8FC7;&#x6307;&#x5B9A;&#x4E2A;&#x6570;&#x622A;&#x53D6;&#x96C6;&#x5408;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> vals = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>];
<span class="hljs-keyword">return</span> vals.skip(<span class="hljs-number">2</span>); <span class="hljs-comment">// [3, 4]</span>
</code></pre>
<h4 id="limit">limit</h4>
<ul>
<li>&#x5165;&#x53C2;&#xFF1A;<code>value</code> : <code>int</code> &#x9650;&#x5236;&#x7684;&#x6570;&#x91CF;&#xFF0C;&#x5982;:<code>2</code></li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x53D6;&#x6307;&#x5B9A;&#x4E2A;&#x6570;&#x7684;&#x96C6;&#x5408;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> vals = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>];
<span class="hljs-keyword">return</span> vals.limit(<span class="hljs-number">3</span>); <span class="hljs-comment">// [1, 2, 3]</span>
</code></pre>
<h4 id="findnotnull">findNotNull</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x627E;&#x5230;&#x7B2C;&#x4E00;&#x4E2A;&#x4E0D;&#x4E3A;<code>null</code>&#x7684;&#x503C;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> vals = [<span class="hljs-literal">null</span>, <span class="hljs-literal">null</span>, <span class="hljs-number">3</span>, <span class="hljs-literal">null</span>];
<span class="hljs-keyword">return</span> vals.findNotNull(); <span class="hljs-comment">// 3</span>
</code></pre>
<h4 id="distinct-&#x53BB;&#x91CD;">distinct() &#x53BB;&#x91CD;</h4>
<ul>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x53BB;&#x6389;&#x91CD;&#x590D;&#x5143;&#x7D20;&#x3002;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> arr = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>];
<span class="hljs-keyword">return</span> arr.distinct(); <span class="hljs-comment">// [1, 2, 3]</span>
</code></pre>
<h4 id="distnctfunc-&#x6839;&#x636E;&#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x503C;&#x53BB;&#x91CD;">distnct(func) &#x6839;&#x636E;&#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x503C;&#x53BB;&#x91CD;</h4>
<ul>
<li>&#x5165;&#x53C2;: &#x6620;&#x5C04;&#x51FD;&#x6570;, &#x5F62;&#x5982;<code>e -&gt; e.id</code>&#x3002;</li>
<li>&#x8FD4;&#x56DE;&#x503C;&#xFF1A;<code>Object</code></li>
<li>&#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x6839;&#x636E;&#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x503C;&#x91CD;&#x590D;&#xFF0C;&#x53BB;&#x6389;&#x91CD;&#x590D;&#x5143;&#x7D20;&#x3002;</li>
</ul>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> arr = [{id: <span class="hljs-number">1</span>, name: <span class="hljs-string">&quot;xiaodong&quot;</span>}, {id:<span class="hljs-number">1</span>, name: <span class="hljs-string">&quot;magic-api&quot;</span>}];
<span class="hljs-keyword">return</span> arr.distinct(e =&gt; e.id); <span class="hljs-comment">// [{id: 1, name: &quot;xiaodong&quot;}]</span>
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="number.html" class="navigation navigation-prev " aria-label="Previous page: Number对象">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="date.html" class="navigation navigation-next " aria-label="Next page: Date对象">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"数组&集合","level":"1.5.3","depth":2,"next":{"title":"Date对象","level":"1.5.4","depth":2,"path":"object/date.md","ref":"object/date.md","articles":[]},"previous":{"title":"Number对象","level":"1.5.2","depth":2,"path":"object/number.md","ref":"object/number.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"object/list.md","mtime":"2023-12-28T05:21:23.455Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2024-01-02T08:17:25.965Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

